local skill = fk.CreateSkill {
  name = "ling__coll_horse_stolen_horse&",
}

Fk:loadTranslationTable{
  ["ling__coll_horse_stolen_horse&"] = "穆公盗马",
  [":ling__coll_horse_stolen_horse&"] = "将此牌当<a href=':ling__stolen_horse'>【穆公盗马】</a>使用",
  ["#ling__coll_horse_stolen_horse"] = "将此牌当【穆公盗马】使用",
}

skill:addEffect("active", {
  prompt = "#ling__coll_horse_stolen_horse",
  target_num = 1,
  target_filter = function (self, player, to_select, selected, selected_cards)
    local card = Fk:cloneCard("ling__stolen_horse")
    card:addSubcards(selected_cards)
    return card.skill:targetFilter(player, to_select, selected, {}, card)
  end,
  on_use = function(self, room, effect)
    local card = Fk:cloneCard("ling__stolen_horse")
    card:addSubcards(effect.cards)
    local use = {
      from = effect.from,
      tos = effect.tos,
      card = card,
    }
    room:useCard(use)
  end,
})

return skill
